import com.formdev.flatlaf.FlatIntelliJLaf;
import util.CityCache;
import window.MainWindow;
import javax.swing.*;

public class Main {
    public static void main(String[] args) throws Exception {
        // 加载城市列表
        CityCache.getCitiesOfHotels();
        // 加载皮肤
        UIManager.setLookAndFeel(new FlatIntelliJLaf());
        // 初始化窗口
        MainWindow startWindow = new MainWindow();
        startWindow.setVisible(true);
    }
}
